package com.yanchangapp.model.response;

import com.yanchangapp.model.bean.RecordCommentBean;
import com.yanchangapp.model.bean.RecordProductBean;

import java.util.List;

/**
 * Created by apple on 2019-08-23.
 * description:
 */
public class RecordDetailResponse {
        /**
         * id : 50400
         * entrustEnterpriseId : 5
         * employeeId : 50003
         * examineStatus : 1
         * totalMoney : 4005
         * examineStatusName : 已通过
         * recordNo : CGJL201908080010
         * createId : 50003
         * createTime : 2019-08-08 14:58:42
         * updateId : 50003
         * updateTime : 2019-08-08 15:00:05
         * deleteFlag : 0
         * department : 采购部
         *
         * // 审批意见列表
         * auditLogs : [{"id":50134,"purchaseRecordId":50400,
         * "examineEmployeeId":50003,"examineEmployeeName":"陆泽","examineDepartment":"采购部",
         * "examineStatus":1,"remark":null,"createId":50003,"createTime":"2019-08-08 15:00:05",
         * "updateId":null,"updateTime":null,"deleteFlag":0,"department":null,"statusName":"已通过"}]
         *
         * // 产品详情
         * records : [{"id":50401,"purchaseRecordId":50400,"supplierId":31,"purchaseStatus":2,
         * "productId":10000125,"productNo":"000001","productName":"123","inventoryNumber":5,"purchaseNum":95,"price":13,"money":1235,"productFormat":"1","manufacture":"2","buyer":"50003","alarmMin":50,"alarmMax":100,"createId":50003,"createTime":"2019-08-08 14:58:42","updateId":null,"updateTime":null,"deleteFlag":0,"supplierName":"云南白药"},{"id":50402,"purchaseRecordId":50400,
         * "supplierId":31,"purchaseStatus":2,"productId":10000126,"productNo":"000002","productName":"123",
         * "inventoryNumber":10,"purchaseNum":90,"price":28,"money":2520,"productFormat":"12","manufacture":"121212",
         * "buyer":"50003","alarmMin":50,"alarmMax":100,"createId":50003,"createTime":"2019-08-08 14:58:42",
         * "updateId":null,"updateTime":null,"deleteFlag":0,"supplierName":"云南白药"},{"id":50403,"purchaseRecordId":50400,
         * "supplierId":48,"purchaseStatus":0,"productId":10000127,"productNo":"0000071","productName":"草珊瑚含片",
         * "inventoryNumber":90,"purchaseNum":10,"price":25,"money":250,"productFormat":"一盒","manufacture":"延长科技",
         * "buyer":"50003","alarmMin":50,"alarmMax":100,"createId":50003,"createTime":"2019-08-08 14:58:42",
         * "updateId":null,"updateTime":null,"deleteFlag":0,"supplierName":"长春制药集团"}]
         * orders : []
         * buyer : 陆泽
         * remark : null
         * status : null
         * supplierSize : null
         * supplierId : null
         * totalCount : 3
         * totalPage : 0
         * pageSize : 0
         * currPage : 0
         */

        private int id;
        private int entrustEnterpriseId;
        private int employeeId;
        private int examineStatus;
        private double totalMoney;
        private String examineStatusName;
        private String recordNo;
        private Integer createId;
        private String createTime;
        private String updateTime;
        private String department;
        private String buyer;
        private int totalCount;
        private int totalPage;
        private int pageSize;
        private int currPage;
        // 评论信息
        private List<RecordCommentBean> auditLogs;
        // 商品列表信息
        private List<RecordProductBean> records;
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getEntrustEnterpriseId() {
            return entrustEnterpriseId;
        }

        public void setEntrustEnterpriseId(int entrustEnterpriseId) {
            this.entrustEnterpriseId = entrustEnterpriseId;
        }

        public int getEmployeeId() {
            return employeeId;
        }

        public void setEmployeeId(int employeeId) {
            this.employeeId = employeeId;
        }

        public int getExamineStatus() {
            return examineStatus;
        }

        public void setExamineStatus(int examineStatus) {
            this.examineStatus = examineStatus;
        }

        public double getTotalMoney() {
            return totalMoney;
        }

        public void setTotalMoney(double totalMoney) {
            this.totalMoney = totalMoney;
        }

        public String getExamineStatusName() {
            return examineStatusName;
        }

        public void setExamineStatusName(String examineStatusName) {
            this.examineStatusName = examineStatusName;
        }

        public String getRecordNo() {
            return recordNo;
        }

        public void setRecordNo(String recordNo) {
            this.recordNo = recordNo;
        }

        public Integer getCreateId() {
            return createId;
        }

        public void setCreateId(Integer createId) {
            this.createId = createId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getBuyer() {
            return buyer;
        }

        public void setBuyer(String buyer) {
            this.buyer = buyer;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<RecordCommentBean> getAuditLogs() {
            return auditLogs;
        }

        public void setAuditLogs(List<RecordCommentBean> auditLogs) {
            this.auditLogs = auditLogs;
        }

        public List<RecordProductBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordProductBean> records) {
            this.records = records;
        }

}
